// 首页接口文档
import { api } from 'boot/axios'

const HOME_URL = '/house/dashboard/overview'

export function getHomeDashboard(year?: string) {
  year = year || '' + new Date().getFullYear()
  return api.get(HOME_URL, { params: { year } })
}
